B04 - Binary Representation 2
https://atcoder.jp/contests/tessoku-book/tasks/tessoku_book_cc
提出
code: python
n = list(input())
n.reverse()
ans = 0
for i in range(len(n)):
if n
i
== '1':
ans += 2 ** i
print(ans)